.top {
  width: 100%;
  height: 5vh;
  top: 0px;
  background-color: #ffffff;
}

.top img {
  width: 4vw;
  height: 4vw;
  margin: 12px 10px;
}

.top div {
  width: 55%;
  height: 6vh;
  display: flex;
  justify-content: space-between;
}

.top div > b {
  font-size: 14px;
  line-height: 3;
}
.container {
  max-width: 100%;
  /* padding: 16px; */
  background-color: #f5f5f5;
  min-height: 100vh;
}

.title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 16px;
  padding-left: 8px;
}

.dateFilter {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  background-color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 12%;
}

.dateInput {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.dateSeparator {
  margin: 0 8px;
  color: #666;
}

.loading,
.error,
.empty {
  text-align: center;
  padding: 20px;
  color: #666;
  font-size: 14px;
}

.error {
  color: #ff4d4f;
}

.listContainer {
  margin-top: 12px;
}

.dateGroup {
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
}

.dateHeader {
  font-size: 16px;
  font-weight: bold;
  background-color: #f5f5f5;
}


.productItem {
  width: 100%;
  display: flex;
  padding: 14px 7px;
  background: white;
  margin-top: 10px;
}

.productItem:last-child {
  border-bottom: none;
}
.priceContainerBig {
  width: 92%;
  display: flex;
  justify-content: space-between;
  margin-left: 0.2%;
  align-items: center;
  height: 22px;
}
.productImage {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  object-fit: cover;
  margin-right: 12px;
  cursor: pointer;
}

.productInfo {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.productTitle {
  font-size: 14px;
  color: #333;
  margin: 0;
  font-weight: normal;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.productSynopsis {
  font-size: 12px;
  color: #999;
  margin: 4px 0 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.priceContainer {
  margin-top: 8px;
}

.currentPrice {
  font-size: 16px;
  color: #ff4d4f;
  font-weight: bold;
  margin-right: 8px;
}

.originalPrice {
  font-size: 12px;
  color: #999;
}
/* 容器样式 */
.date-filter-container {
  display: flex;
  align-items: center;
}

/* 输入框样式 */
.custom-date-input {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 8px 12px;
  width: 120px;
  font-size: 14px;
  color: #333;
  background: white;
  text-align: center;
}

/* 分隔符样式 */
.date-separator {
  margin: 0 8px;
  color: #666;
  font-size: 14px;
}

/* 日历整体样式 */
.custom-calendar {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 日历头部 */
.react-datepicker__header {
  background-color: white;
  border-bottom: 1px solid #f0f0f0;
  padding-top: 8px;
}

/* 月份标题 */
.react-datepicker__current-month {
  color: #333;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 10px;
}

/* 导航箭头 */
.react-datepicker__navigation {
  top: 10px;
}

/* 星期标题 */
.react-datepicker__day-names {
  margin-top: 8px;
}

.react-datepicker__day-name {
  color: #666;
  font-size: 12px;
  width: 32px;
  line-height: 32px;
}

/* 日期单元格 */
.react-datepicker__day {
  color: #333;
  width: 32px;
  line-height: 32px;
  margin: 2px;
  font-size: 13px;
}

.react-datepicker__day:hover {
  background-color: #f5f5f5;
  /* border-radius: 50%; */
}

/* 选中日期样式 */
.react-datepicker__day--selected,
.react-datepicker__day--in-selecting-range,
.react-datepicker__day--in-range {
  background-color: #ff9800;
  color: white;
  border-radius: 50%;
}

/* 今天日期 */
.react-datepicker__day--today {
  font-weight: bold;
  /* color: #ff9800; */
}

/* 日期范围中间状态 */
.react-datepicker__day--in-range:not(.react-datepicker__day--selected) {
  background-color: #fff3e0;
  color: #333;
  border-radius: 0;
}
/* 日历容器样式 */
.calendarContainer {
  /* background: white; */
  /* padding: 12px; */
  /* margin-bottom: 12px; */
  position: relative;
  margin-top: 40px;
}

/* 日历包装器 - 默认显示两行（星期栏和日期行） */
.calendarWrapper {
  overflow: hidden;
  height: auto;
  max-height: 84px; /* 星期栏36px + 日期行48px */
  transition: max-height 0.3s ease;
}

/* 展开状态 - 显示完整日历 */
.calendarWrapper.expanded {
  max-height: 400px;
}

/* 默认隐藏月份标题和切换按钮 */
.calendarWrapper :global(.adm-calendar-header) {
  display: none;
}

/* 展开时显示月份标题和切换按钮 */
.calendarWrapper.expanded :global(.adm-calendar-header) {
  display: flex;
}

/* 确保星期栏始终显示 */
.calendarWrapper :global(.adm-calendar-cells-header) {
  display: flex;
  height: 36px;
}

/* 展开/收起按钮 */
.expandButton {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 14px;
  padding: 8px 0;
  margin-top: 8px;
  cursor: pointer;
}

.expandButton svg {
  margin-right: 4px;
}

/* footprint.module.css */
.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #f5f5f5;
}

.calendarContainer {
  padding-bottom: 41px;
}

.calendarWrapper {
  transition: height 0.3s ease;
  overflow: hidden;
}

.expandButton {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #666;
  font-size: 14px;
  cursor: pointer;
}

.loading,
.error,
.empty {
  text-align: center;
  padding: 20px;
  color: #666;
}

.listContainer {
  flex: 1;
  overflow-y: auto;
}

.dateGroup {
  margin-bottom: 16px;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dateHeader {
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  border-bottom: 1px solid #eee;
}

.itemsContainer {
  padding: 8px;
}

.currentPrice {
  color: #e42424;
  font-size: 16px;
  font-weight: bold;
  margin-right: 8px;
}

.originalPrice {
  color: #999;
  font-size: 12px;
}
